package com.edu;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public abstract class ViewResult {
    public HttpServletRequest getRequest(){
        return ActionContext.getContext().getRequest();
    }

    public HttpServletResponse getResponse(){
        return ActionContext.getContext().getResponse();
    }

    public abstract void execute();
}
